package com.ai.nsa;

/**
 * @author Feng Chen 2017/6/12.
 */
public interface NSACache {

    Object get(String key) throws Exception;

    void put(String key, Object value) throws Exception;

    void put(String key, Object value, int secTTL) throws Exception;

    void push(String key, String value) throws Exception;

    String pop(String key) throws Exception;

    void delete(String key) throws Exception;

}
